package io.github.ali.commons.validate;

import com.alibaba.fastjson.JSON;
import io.github.ali.commons.validation.RequireValidate;
import io.github.ali.commons.validation.SkipValidate;

/**
 * @author ALi
 * @version 1.0
 * @date 2024-04-30 11:10
 * @description
 */
public class SomeApp extends BaseApp{
    //优先级高于从父类继承的注解
    //@RequireValidate(paramNames="xxx")
    //优先级最高
//    @SkipValidate
    public String run(SomeRequest request) {
        System.out.println(JSON.toJSONString(request));
        return "success";
    }
}
